package com.motus.pm.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

import com.motus.pm.vo.PmMeetingTask;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

@Controller
public class MeetingTaskModelAction extends ActionSupport implements
		ModelDriven<PmMeetingTask> {

	private static final long serialVersionUID = 1L;

	@Autowired
	@Qualifier("pmMeetingTask")
	private PmMeetingTask meetingTask;

	public PmMeetingTask getMeetingTask() {
		return meetingTask;
	}

	public void setMeetingTask(PmMeetingTask meetingTask) {
		this.meetingTask = meetingTask;
	}

	@Override
	public String execute() throws Exception {
		return super.execute();
	}

	@Override
	public PmMeetingTask getModel() {
		return meetingTask;
	}

}
